#include "SnzFrameListener.h"


SnzFrameListener::SnzFrameListener() 
{
	_timeElapsed = 0.0f;
}
SnzFrameListener::~SnzFrameListener() 
{
}
bool SnzFrameListener::frameStarted(const FrameEvent &evt) 
{
	_timeElapsed += evt.timeSinceLastFrame;
	return (_timeElapsed < 5.0f);
}
bool SnzFrameListener::frameEnded(const FrameEvent &evt) 
{
	return true;
}
